package dominain;

import java.text.SimpleDateFormat;

public interface Contract {
	/** The package path. */
	String PACKAGE_PATH = "com.db.type";

	/** The action d. */
	String ACTION_D = "D";

	/** The action m. */
	String ACTION_M = "M";

	/** The action i. */
	String ACTION_I = "I";

	/** The action u. */
	String ACTION_U = "U";

	/** The transaction id. */
	String TRANSACTION_ID = "transaction_id";

	/** The sucessful. */
	String SUCESSFUL = "OK";

	/** The my url. */
	String MY_URL = "http://myappmap1987.appspot.com";

	/** The test url. */
	String TEST_URL = "http://127.0.0.1:8888";

	/** The system file. */
	String systemFile = "LOVE_SYSTEM_PREFERENCES";

	/** The is first time p. */
	String isFirstTimeP = "isFirstTimeP";

	/** The is reminded. */
	String isReminded = "isReminded";

	/** The name. */
	String name = "name";

	/** The no login id. */
	String NO_LOGIN_ID = "0000";// 沒有登入的帳號

	/** The love sened code. */
	int LOVE_SENED_CODE = 800;

	/** The def db name. */
	static String DEF_DB_NAME = "LOVE_DB";

	/** The string y. */
	static String STRING_Y = "Y";

	/** The string n. */
	static String STRING_N = "N";

	/** The string empty. */
	static String STRING_EMPTY = "";

	/** The string zero. */
	static String STRING_ZERO = "0";

	/** The string one. */
	static String STRING_ONE = "1";

	/** The string two. */
	static String STRING_TWO = "2";

	/** The string three. */
	static String STRING_THREE = "3";

	/** The string four. */
	static String STRING_FOUR = "4";

	/** The string five. */
	String STRING_FIVE = "5";

	/** The string six. */
	String STRING_SIX = "6";

	/** The string seven. */
	String STRING_SEVEN = "7";

	/** The string eight. */
	String STRING_EIGHT = "8";

	/** The string nine. */
	String STRING_NINE = "9";

	/** The string guest. */
	static String STRING_GUEST = "顧客";

	/** The int zero. */
	int INT_ZERO = 0;

	/** The int one. */
	int INT_ONE = 1;

	/** The int two. */
	int INT_TWO = 2;

	/** The int three. */
	int INT_THREE = 3;

	/** The int four. */
	int INT_FOUR = 4;

	/** The int five. */
	int INT_FIVE = 5;

	/** The int six. */
	int INT_SIX = 6;

	/** The int seven. */
	int INT_SEVEN = 7;

	/** The int eight. */
	int INT_EIGHT = 8;

	/** The int nine. */
	int INT_NINE = 9;

	/** The alll. */
	String alll = "00000x";

	/** The user list. */
	String userList = "000000";

	/** The todo. */
	String todo = "000001";

	/** The today. */
	String today = "000002";

	/** The torrow. */
	String torrow = "000003";

	/** The week. */
	String week = "000004";

	/** The good status. */
	int GOOD_STATUS = 200;

	/** The not read. */
	String notRead = "xxxxxx";
	// --------------------------------------------//
	/** The time sdf show. */
	SimpleDateFormat TIME_SDF_SHOW = new SimpleDateFormat("HH:mm");

	/** The time sdf table. */
	SimpleDateFormat TIME_SDF_TABLE = new SimpleDateFormat("HHmm");

	/** The date sdf show. */
	SimpleDateFormat DATE_SDF_SHOW = new SimpleDateFormat("yyyy/MM/dd");

	/** The date sdf table. */
	SimpleDateFormat DATE_SDF_TABLE = new SimpleDateFormat("yyyyMMdd");
	// ------------------------------------------//
	/** The state up. */
	String STATE_UP = "UP";

	/** The state down. */
	String STATE_DOWN = "DOWN";

	// ----------------------------------------//
	/** The sync url. */
	String SYNC_URL = MY_URL + "/helloServlet.view";// 同步的url

	/** The login url. */
	String LOGIN_URL = MY_URL + "/login.do";// 登入的url

	/** The logout url. */
	String LOGOUT_URL = MY_URL + "/logout.do";

	/** The sign url. */
	String SIGN_URL = MY_URL + "/sign.do";// 註冊

	/** The insert url. */
	String INSERT_URL = MY_URL + "/insert.do";// 新增

	/** The updata url. */
	String UPDATA_URL = MY_URL + "/updata.do";// 更新

	/** The delete url. */
	String DELETE_URL = MY_URL + "/delet.do";// 刪除

	String GET_FRIEND_URL = MY_URL + "/getFriend.view";// 取得朋友資料

	String GET_MEMBER_DETIAL_URL = MY_URL + "/getMemberDetial.view";// 取得朋友資料
	// -----------------------------------------//
}
